package com.zhht.checkcop.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zhbc.framework.dao.IBaseDao;
import com.zhbc.framework.service.ABaseServiceImpl;
import com.zhht.checkcop.check.vo.ClassifyVO;
import com.zhht.checkcop.dao.ClassifyDao;
import com.zhht.checkcop.service.ClassifyService;

@Transactional
@Service("classifyService")
public class ClassifyServiceImpl extends ABaseServiceImpl<ClassifyVO> implements ClassifyService{

	@Autowired
	private ClassifyDao classifyDao;
	
	@Override
	protected IBaseDao<ClassifyVO> getBaseDao() {
		// TODO Auto-generated method stub
		return classifyDao;
	}
	
	public List<ClassifyVO> getClassifyList(int type) {
		// TODO Auto-generated method stub
		return classifyDao.getClassifyList(type);
	}
}
